package com.sc.entity.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 访谈记录表 表定义层。
 *
 * @author JoeZhou
 * @since 2024-09-14
 */
public class InterviewRecordsTableDef extends TableDef {

    /**
     * 访谈记录表
     */
    public static final InterviewRecordsTableDef INTERVIEW_RECORDS = new InterviewRecordsTableDef();

    
    public final QueryColumn ID = new QueryColumn(this, "ID");

    /**
     * 备注
     */
    public final QueryColumn INFO = new QueryColumn(this, "info");

    /**
     * 状态
     */
    public final QueryColumn STATUS = new QueryColumn(this, "status");

    /**
     * 创建时间
     */
    public final QueryColumn CREATED = new QueryColumn(this, "created");

    /**
     * 访谈详情
     */
    public final QueryColumn DETAILS = new QueryColumn(this, "details");

    /**
     * 更新时间
     */
    public final QueryColumn UPDATED = new QueryColumn(this, "updated");

    /**
     * 版本
     */
    public final QueryColumn VERSION = new QueryColumn(this, "version");

    /**
     * 日期时间
     */
    public final QueryColumn DATETIME = new QueryColumn(this, "datetime");

    
    public final QueryColumn IS_DELETE = new QueryColumn(this, "is_delete");

    /**
     * 学生ID
     */
    public final QueryColumn STUDENT_ID = new QueryColumn(this, "student_id");

    /**
     * 教师ID
     */
    public final QueryColumn TEACHER_ID = new QueryColumn(this, "teacher_id");

    /**
     * 教师姓名
     */
    public final QueryColumn TEACHER_NAME = new QueryColumn(this, "teacher_name");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, STUDENT_ID, DATETIME, TEACHER_ID, TEACHER_NAME, DETAILS, INFO, STATUS, IS_DELETE, CREATED, UPDATED, VERSION};

    public InterviewRecordsTableDef() {
        super("study_club", "sms_interview_records");
    }

}
